package cn.vehicle.domains.vo.req.camera;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "更新相机设备请求参数")
public class UpdateCameraReq {

    @Schema(name = "id", description = "相机设备ID")
    @NotNull(message = "相机ID不能为空")
    private Long id;

    @Schema(name = "videoPosition", description = "视频位置")
    private String videoPosition;

    @Schema(name = "cameraIp", description = "相机IP地址")
    private String cameraIp;

    @Schema(name = "channelCode", description = "通信编码")
    private String channelCode;

    @Schema(name = "channelName", description = "通信名称")
    private String channelName;

    @Schema(name = "cameraCode", description = "相机编码（唯一标识）")
    private String cameraCode;

    @Schema(name = "inOutType", description = "出入口类型（IN-入口，OUT-出口）")
    private String inOutType;

    @Schema(name = "displayIp", description = "显示屏IP地址")
    private String displayIp;

    @Schema(name = "isPictureRecording", description = "是否需要录像（true-是，false-否）")
    private Boolean isPictureRecording;

    @Schema(name = "workMode", description = "工作模式（RECOGNIZE-识别，CAPTURE-抓拍）")
    private String workMode;


    @Schema(name = "nvrAddressUrl", description = "NVR地址")
    private String nvrAddressUrl;

    @Schema(name = "entryExitCode", description = "道口编号")
    private String entryExitCode;

    @Schema(name = "roadCode", description = "道闸编号")
    private String roadCode;
}